package com.ruoyi.squadweb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 比赛场次信息对象 squad_match_team_compare_info
 * 
 * @author LJY
 * @date 2024-07-19
 */
public class SquadMatchTeamCompareInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 比赛时间 */
    @Excel(name = "比赛时间")
    private String time;

    /** 模式 */
    @Excel(name = "模式")
    private String pattern;

    /** 联赛名字 */
    @Excel(name = "联赛名字")
    private String leagueMatchName;

    /** 比赛状态 */
    @Excel(name = "比赛状态")
    private String matchStatus;

    /** 战队1名字 */
    @Excel(name = "战队1名字")
    private String team1;

    /** 战队1logo */
    @Excel(name = "战队1logo")
    private String logo1;

    /** 战队1分数 */
    @Excel(name = "战队1分数")
    private Long score1;

    /** 战队2分数 */
    @Excel(name = "战队2分数")
    private Long score2;

    /** 战队2logo */
    @Excel(name = "战队2logo")
    private String logo2;

    /** 战队2名字 */
    @Excel(name = "战队2名字")
    private String team2;

    /** 裁判 */
    @Excel(name = "裁判")
    private String referee;

    /** 热度 */
    @Excel(name = "热度")
    private String popularity;

    /** 比赛日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setPattern(String pattern) 
    {
        this.pattern = pattern;
    }

    public String getPattern() 
    {
        return pattern;
    }
    public void setLeagueMatchName(String leagueMatchName) 
    {
        this.leagueMatchName = leagueMatchName;
    }

    public String getLeagueMatchName() 
    {
        return leagueMatchName;
    }
    public void setMatchStatus(String matchStatus) 
    {
        this.matchStatus = matchStatus;
    }

    public String getMatchStatus() 
    {
        return matchStatus;
    }
    public void setTeam1(String team1) 
    {
        this.team1 = team1;
    }

    public String getTeam1() 
    {
        return team1;
    }
    public void setLogo1(String logo1) 
    {
        this.logo1 = logo1;
    }

    public String getLogo1() 
    {
        return logo1;
    }
    public void setScore1(Long score1) 
    {
        this.score1 = score1;
    }

    public Long getScore1() 
    {
        return score1;
    }
    public void setScore2(Long score2) 
    {
        this.score2 = score2;
    }

    public Long getScore2() 
    {
        return score2;
    }
    public void setLogo2(String logo2) 
    {
        this.logo2 = logo2;
    }

    public String getLogo2() 
    {
        return logo2;
    }
    public void setTeam2(String team2) 
    {
        this.team2 = team2;
    }

    public String getTeam2() 
    {
        return team2;
    }
    public void setReferee(String referee) 
    {
        this.referee = referee;
    }

    public String getReferee() 
    {
        return referee;
    }
    public void setPopularity(String popularity) 
    {
        this.popularity = popularity;
    }

    public String getPopularity() 
    {
        return popularity;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("time", getTime())
            .append("pattern", getPattern())
            .append("leagueMatchName", getLeagueMatchName())
            .append("matchStatus", getMatchStatus())
            .append("team1", getTeam1())
            .append("logo1", getLogo1())
            .append("score1", getScore1())
            .append("score2", getScore2())
            .append("logo2", getLogo2())
            .append("team2", getTeam2())
            .append("referee", getReferee())
            .append("popularity", getPopularity())
            .append("date", getDate())
            .toString();
    }
}
